From: Richard M. Stallman Date: Fri, 4 Mar 1994 04:42:04 +0000 (+0000) Subject: (skip_chars): Treat `-' as alias for space, if syntaxp. X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~92865 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:///%22http:/www.example.com/cgi/%22https:/www.github.com/%22bookmarks:/?a=commitdiff_plain;h=9239c6c1ee1034cbc8e9c7e02837a6b158334733;p=emacs.git (skip_chars): Treat `-' as alias for space, if syntaxp. --- diff --git a/src/search.c b/src/search.c index 4d39d38c68a..1e4b72bd9c0 100644 --- a/src/search.c +++ b/src/search.c @@ -472,6 +472,9 @@ skip_chars (forwardp, syntaxp, string, lim) } } + if (syntaxp && fastmap['-'] != 0) + fastmap[' '] = 1; + /* If ^ was the first character, complement the fastmap. */ if (negate)